home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac100% 1998 November
/
MAC100-1998-11.ISO.7z
/
MAC100-1998-11.ISO
/
オンラインソフト定点観測
/
ユーティリティ
/
Mops 3.2.sea
/
Mops 3.2
/
Mops ƒ
/
testmod.txt
< prev
next >
Wrap
Text File
|
1997-12-10
|
659b
|
40 lines
+echo
¥ Some silly code to test our module stuff:
: AA ." AA calling: " qq ;
: BB db ." BB here. " aa ; immediate
999 value myVal
int myInt
: CC
." CC calling. myVal is " myVal . cr
23 put: myInt get: myInt . cr ¥ print: [ myInt ]
postpone bb
;
: DD 1 2 3 ;
false -> CASE_IN_NAMES?
: aWord false -> CASE_IN_NAMES? ;
:class export_class super{ object }
int II
int JJ
:m AA: ." AA method calling!" ;m
:m BB: ." BB method here. " aa: self ;m
:m CC:
db ." CC method calling. " bb: self cr
." jj should be 66, and is " get: jj . cr ;m
:m classinit: ." classinit: here!" 77 put: ii 66 put: jj ;m
;class
export_class EE